How do you use ref keyword?
Can you elaborate on the use of the "ref" keyword in programming, specifically in the context of C#? How does it differ from the "out" keyword, and in what scenarios would you choose to use it? Understanding its functionality is crucial for mastering parameter passing in C#, so I'd appreciate a clear and concise explanation.